<template>
  <div>
    <div class="cinema" v-for="item in cinemaList" :key="item.id">
      <div class="left">
        <p>{{ item.name }}</p>
        <p>{{ item.address }}</p>
      </div>
      <div class="right">
        <p>￥{{ item.latitude | price }}起</p>
        <p>距离未知</p>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  props: ["cinemaList"],
  created() {},
  computed: {},
  methods: {},
};
</script>
<style lang="less" scoped>
.cinema {
  display: flex;
  justify-content: space-between;
  padding: 15px 15px 0;
  border-bottom: 1px solid #ccc;
  .left {
    p {
      font-size: 14px;
      margin: 15px 0;
      max-width: 250px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    p:last-child {
      font-size: 13px;
      color: #aaa;
    }
  }
  .right {
    p {
      margin: 15px 0;
      font-size: 14px;
      color: orangered;
    }
    p:last-child {
      font-size: 13px;
      color: #aaa;
    }
  }
}
</style>
